package com.aqie.appletserver.service;

import com.aqie.appletserver.bean.BaiduToken;
import com.aqie.appletserver.bean.response.TokenResponse;

public interface IBaiduTokenService {
    // 保存baidu token
    BaiduToken save(BaiduToken token);

    // 根据 apikey 和 type 获取 数据库token
    BaiduToken getByApikeyAndType(String apiKey, String type);

    // 获取token
    TokenResponse getAuthToken();
}
